<template>
	<view class="content">
		<nav-header bgColor="bg-custom-color" :isBack="true">
			<!-- <block slot="backText">返回</block> -->
			<block slot="content"></block>
		</nav-header>

		<view class="bg-custom-color " style="padding: 10px 20px;">
			<view style="color: #E6EEFF;">{{news.title}}</view>
			<view class="text-colo1" style="margin-top: 10px;">{{news.createTime.replace('T',' ').replace('.000+000','')}}</view>
			<view class="text-colo1" style="margin-top: 20px;" v-html="news.content"></view>
		</view>
	</view>


</template>

<script>
	let t
	export default {
		data() {
			return {
				title: 'Hello',
				news:'',
			}

		},
		onLoad() {
			t = this
			t.getNewsList()

		},
		methods: {
			getNewsList() {
				let data = {
					'language': 'zh_cn',
					'pageNum': '0',
					'pageSize': '1'
				}
				t.$fetch.request('api/queryBulletin', data, 'POST').then((res) => {
					console.info(res)
					t.news = res.data[0]
				
				}).catch((e) => {})
			},
		}
	}
</script>

<style>
	uni-image {
		display: -webkit-inline-box;
	}

	.img-swiper {
		/* min-height: 20%;
		max-height: 20%; */
	}

	.gg-div {
		height: 40px;
		line-height: 40px;
		border-bottom: 1px solid #e6bcbb;
	}

	.box {
		display: inline-grid;
	}

	.gg {
		width: 15%;
		text-align: center;
	}

	.gg-content {
		width: 82%;
		color: #888;
		height: 40px;
		line-height: 40px;
		overflow: hidden;
	}

	.nav {
		/* margin-top: 10px; */
		height: 80px;
	}

	.nav-view {
		flex: 1;
		width: 25%;
	}

	.img-view {
		text-align: center;
		height: 35px;
		width: 35px;
	}

	.nav-title {
		padding: 5px;
		text-align: center;
	}

	.nav-box {
		padding: 10px 0;
	}

	.lc4 {
		background-color: #061C2A;
		padding: 20upx 40upx;
		height: 15%;
	}

	.lc4-one {
		background-color: #061c2a;
		display: flex;
	}

	.lc4-one-box {
		border-radius: 6px;
		flex: 1;
		background-color: #172434;
	}

	.lc4-one .left {
		margin-right: 10px;
	}

	.lc4-title {
		margin: 0 40upx;
		height: 28px;
		line-height: 28px;
	}

	.lc4-title4 {
		color: #24BD9E;
		font-size: 10px;
	}

	.lc4-title2-text {
		font-size: 16px;
		font-weight: bold;
	}

	.hy {
		min-height: 40px;
	}

	.hy-title-box {
		display: flex;

	}

	.hy-title-box1 {
		padding: 5px;
	}

	.hy-title {
		flex: 1;
		text-align: center;
	}

	.hy-content {
		color: #808080;
	}

	.boder_bottom {
		border-bottom: 1px solid #40576f;
	}

	.text-swiper {
		/* max-height: 20%; */
		height: 120px;
		padding: 10px;
	}
</style>
